Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent conversion of string properties to JSONArrays or JSONObjects … #45

Closed
wants to merge 1 commit into from

Conversation

tofay
Copy link

@tofay tofay commented Oct 3, 2017

…when a JSONObject is nested within another JSON value.

String properties of JSONObjects that start with "[" and end with "]" should not be converted to arrays when the JSONObject is added to another JSONObject.
Fixed by not serializing and then deserializing JSONObjects when converting them to JSON.

Fixes #44

…when a JSONObject is nested within another JSON value.

String properties of JSONObjects that start with "[" and end with "]" should not be converted to arrays when the JSONObject is added to another JSONObject.
Fixed by not serializing and then deserializing JSONObjects when converting them to JSON.
@tofay tofay closed this Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strings that are also valid JSON arrays/objects are deserialized incorrectly
1 participant